package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.TowerCraneRealtimeDao;
import com.site.wisdom_construction.entity.iotModule.TowerCraneRealtime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/9/1
 * @Description
 */
@Service
public class TowerCraneRealtimeService implements TowerCraneRealtimeDao {
    @Autowired
    private TowerCraneRealtimeDao towerCraneRealtimeDao;

    @Override
    public TowerCraneRealtime findTowerCraneRealtimeByDeviceId(Map map) {
        return towerCraneRealtimeDao.findTowerCraneRealtimeByDeviceId(map);
    }

    @Override
    public TowerCraneRealtime findTowerCraneRealtimeByDeviceIdI(Map map) {
        return towerCraneRealtimeDao.findTowerCraneRealtimeByDeviceIdI(map);
    }

    @Override
    public List<TowerCraneRealtime> findTowerCraneRealtime(Map map) {
        return towerCraneRealtimeDao.findTowerCraneRealtime(map);
    }
}
